CRDTs: Consistency without concurrency control

نویسندگان

  • Mihai Letia
  • Nuno M. Preguiça
  • Marc Shapiro
چکیده

A CRDT is a data type whose operations commute when they are concurrent. Replicas of a CRDT eventually converge without any complex concurrency control. As an existence proof, we exhibit a non-trivial CRDT: a shared edit buffer called Treedoc. We outline the design, implementation and performance of Treedoc. We discuss how the CRDT concept can be generalised, and its limitations. Key-words: Data replication, optimistic replication, commutative operations ∗ This work is supported in part by the EU FP6 project Grid4All, a PhD grant from Microsoft Research, and the Portuguese FCT/MCTES project POSC/59064/2004, with FEDER funding. † École Normale Supérieure de Lyon and LIP6 ‡ Universidade Nova de Lisboa § INRIA Paris-Rocquencourt and LIP6 Les CRDT : Cohérence sans contrôle de concurrence Résumé : Un CRDT est un type de données dont toutes les opérations concurrentes sont commutatives. Les répliques d’un CRDT convergent inéluctablement, sans nécessiter un contrôle de concurrence complexe. Comme preuve d’existence, nous montrons un CRDT non trivial : un tampon d’édition partagée appelé Treedoc. Nous en résumons la conception, la mise en œuvre et les performances. Nous discutons les limites et les possibles généralisations du concept. Mots-clés : Réplication des données, réplication optimiste, opérations commutatives CRDTs: Consistency without concurrency control 3

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Efficient Synchronization of State-based CRDTs

Data consistency often needs to be sacrificed in order to ensure high-availability in large scale distributed systems. Conflict-free Replicated Data Types (CRDTs) relax consistency by enabling query and update operations to be performed locally at any replica without synchronization. Consistency is achieved by background synchronization operations. In state-based CRDTs replicas synchronize by p...

متن کامل

Bulletin of the European Association for Theoretical Computer

Eventual consistency aims to ensure that replicas of some mutable shared object converge without foreground synchronisation. Previous approaches to eventual consistency are ad-hoc and error-prone. We study a principled approach: to base the design of shared data types on some simple formal conditions that are sufficient to guarantee eventual consistency. We call these types Convergent or Commut...

متن کامل

Delta State Replicated Data Types

CRDTs are distributed data types that make eventual consistency of a distributed object possible and non ad-hoc. Specifically, state-based CRDTs ensure convergence through disseminating the entire state, that may be large, and merging it to other replicas; whereas operation-based CRDTs disseminate operations (i.e., small states) assuming an exactly-once reliable dissemination layer. We introduc...

متن کامل

Efficient State-Based CRDTs by Delta-Mutation

CRDTs are distributed data types that make eventual consistency of a distributed object possible and non ad-hoc. Specifically, state-based CRDTs achieve this by sharing local state changes through shipping the entire state, that is then merged to other replicas with an idempotent, associative, and commutative join operation, ensuring convergence. This imposes a large communication overhead as t...

متن کامل

Abstract unordered and ordered trees CRDT

Trees are fundamental data structure for many areas of computer science and system engineering. In this report, we show how to ensure eventual consistency of optimistically replicated trees. In optimistic replication, the different replicas of a distributed system are allowed to diverge but should eventually reach the same value if no more mutations occur. A new method to ensure eventual consis...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره abs/0907.0929  شماره 

صفحات  -

تاریخ انتشار 2009